<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/6/12
  Time: 22:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div>
    <form action="newbookServlet" method="post" id="form">
        <p>新书名称:</p>
        <c:if test="${booknameerror != 0}">
            该书名已经被注册！
        </c:if>
        <p>
            <input type="text" name="bookname" id="bookname" class="inputtext"/>
        </p>
        <input type="text" name="author_name" id="author_name" class="author_name" value="${author_name}"
               hidden="hidden"/>
        <p>类型：</p>
        <p><input type="radio" name="types" value="玄幻">玄幻
            <input type="radio" name="types" value="仙侠">仙侠
            <input type="radio" name="types" value="都市">都市
        </p>
        <p><input type="radio" name="types" value="科幻">科幻
            <input type="radio" name="types" value="游戏">游戏
            <input type="radio" name="types" value="历史">历史
        </p>
        <p><input type="radio" name="types" value="东方奇幻">东方奇幻
            <input type="radio" name="types" value="言情">言情
            <input type="radio" name="types" value="西方魔法">西方魔法
        </p>
        <p>简介：</p>
        <p>
            <textarea rows="10" cols="115"  class="brief_introduction" id="brief_introduction"
                      name="brief_introduction">
            </textarea>
        </p>
        <p><input type="submit" value="提交"></p>
    </form>

</div>
</body>
</html>
